<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var skillId = window.dialogArguments;
var getskillUrl = "/skill/get/";
var editskillUrl = "/skill/edit/";
$(document).ready(function() {
	$.ajax({
		   type: "GET",
		   url: getskillUrl,
		   data: "skillId=" + skillId,
		   dataType: "json",
		   success: function(data) {
			   if(data.code > 0) {
				   var result = data.result;
				   $("#skillId").html(result.skillId);
				   $("#deployId").html(result.deployId);
				   $("#name").html('"'+result.name+'"');				   $("#desc").html('"'+result.desc+'"');				   $("#category").html(result.category);				   $("#targetType").html(result.targetType);				   $("#damage").html(result.damage);				   $("#triggerDamage").html(result.triggerDamage);				   $("#status").html(result.status);				   $("#triggerStatus").html(result.triggerStatus);				   $("#trigger").html(result.trigger);				   $("#property").html(result.property);				   $("#changeFury").html(result.changeFury);				   $("#sound").html('"'+result.sound+'"');				   $("#skillres").html(result.skillres);				   				   
			   }else {
				   errDialog(data.message);
			   }
		   }
	});
});

</script>
<body>
<div class="json">
{<br/>
<span class="jsonkey">skillId:</span><span id="skillId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">name:</span><span id="name" class="jsonvalue"></span>,<br/>
<span class="jsonkey">desc:</span><span id="desc" class="jsonvalue"></span>,<br/>
<span class="jsonkey">category:</span><span id="category" class="jsonvalue"></span>,<br/>
<span class="jsonkey">targetType:</span><span id="targetType" class="jsonvalue"></span>,<br/>
<span class="jsonkey">damage:</span><span id="damage" class="jsonvalue"></span>,<br/>
<span class="jsonkey">triggerDamage:</span><span id="triggerDamage" class="jsonvalue"></span>,<br/>
<span class="jsonkey">status:</span><span id="status" class="jsonvalue"></span>,<br/>
<span class="jsonkey">triggerStatus:</span><span id="triggerStatus" class="jsonvalue"></span>,<br/>
<span class="jsonkey">trigger:</span><span id="trigger" class="jsonvalue"></span>,<br/>
<span class="jsonkey">property:</span><span id="property" class="jsonvalue"></span>,<br/>
<span class="jsonkey">changeFury:</span><span id="changeFury" class="jsonvalue"></span>,<br/>
<span class="jsonkey">sound:</span><span id="sound" class="jsonvalue"></span>,<br/>
<span class="jsonkey">skillres:</span><span id="skillres" class="jsonvalue"></span><br/>
</br>
}
</div>
</body>